﻿#pragma once
#include "Mesh.h"
#include "Scence.h"

class FEnvironmentMappingMaterial;

class FCubMapScene final
	: public FScence
{
public:

	void Init(FRender* InRender) override;
	void Destory() override;
	void Draw(float DateTime) override;

	std::shared_ptr<FCamera> GetCamera() const override { return Camera; } // NOLINT(modernize-use-nodiscard)

private:

	std::shared_ptr<FMesh> SkyBox;
	std::shared_ptr<FMesh> Box;

	std::shared_ptr<FMesh> BoxEnvMap;
	std::shared_ptr<FEnvironmentMappingMaterial> BoxEnvMapMaterial;

	std::shared_ptr<FCamera> Camera;
};
